<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI恋恋 - 发现</title>
    <link rel="stylesheet" href="css/styles.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .search-bar {
            padding: 15px 16px;
            background-color: white;
            border-bottom: 1px solid var(--border-color);
        }

        .search-input-container {
            display: flex;
            align-items: center;
            background-color: #f0f0f0;
            border-radius: 20px;
            padding: 0 15px;
        }

        .search-input-container i {
            color: var(--light-text);
            margin-right: 10px;
        }

        .search-input {
            background-color: transparent;
            border: none;
            padding: 12px 0;
            width: 100%;
            font-size: 14px;
            color: var(--text-color);
            outline: none;
        }

        .section-title {
            font-size: 20px;
            font-weight: 600;
            margin: 25px 16px 15px;
            color: var(--accent-color);
            display: flex;
            align-items: center;
        }

        .section-title i {
            margin-right: 8px;
            font-size: 18px;
        }

        .scroll-container {
            overflow-x: auto;
            padding: 0 16px 15px;
            display: flex;
            gap: 15px;
            scrollbar-width: none;
        }

        .scroll-container::-webkit-scrollbar {
            display: none;
        }

        .ai-aiCharacter-card {
            width: 130px;
            flex-shrink: 0;
            text-align: center;
            transition: transform 0.2s;
        }

        .ai-aiCharacter-card:hover {
            transform: translateY(-5px);
        }

        .ai-aiCharacter-image-container {
            position: relative;
            margin-bottom: 10px;
        }

        .ai-aiCharacter-image {
            width: 110px;
            height: 110px;
            border-radius: 55px;
            object-fit: cover;
            border: 3px solid white;
            box-shadow: 0 5px 15px rgba(195, 190, 240, 0.3);
        }

        .ai-aiCharacter-status {
            position: absolute;
            bottom: 5px;
            right: 10px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-color: var(--success-color);
            border: 2px solid white;
        }

        .ai-aiCharacter-name {
            font-size: 15px;
            font-weight: 600;
            margin: 0 0 2px 0;
            color: var(--text-color);
        }

        .ai-aiCharacter-type {
            font-size: 12px;
            color: var(--light-text);
            margin: 0;
        }

        .featured-card {
            margin: 16px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            position: relative;
            background-color: white;
            transition: transform 0.2s;
        }

        .featured-card:hover {
            transform: translateY(-5px);
        }

        .featured-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .featured-content {
            padding: 20px;
        }

        .featured-title {
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 10px 0;
            color: var(--accent-color);
        }

        .featured-description {
            font-size: 14px;
            color: var(--text-color);
            margin: 0 0 15px 0;
            line-height: 1.5;
        }

        .tag {
            display: inline-block;
            padding: 5px 12px;
            background-color: var(--secondary-light);
            border-radius: 15px;
            font-size: 12px;
            margin-right: 8px;
            margin-top: 8px;
            color: var(--accent-color);
        }

        .popular-container {
            padding: 0 16px 20px;
        }

        .popular-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border-radius: 15px;
            background-color: white;
            margin-bottom: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s;
        }

        .popular-item:hover {
            transform: translateX(5px);
        }

        .popular-number {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-color);
            width: 30px;
            text-align: center;
        }

        .popular-content {
            flex: 1;
            margin-left: 15px;
        }

        .popular-title {
            font-size: 15px;
            font-weight: 600;
            margin: 0 0 5px 0;
            color: var(--text-color);
        }

        .popular-meta {
            font-size: 12px;
            color: var(--light-text);
            display: flex;
            align-items: center;
        }

        .popular-meta i {
            margin-right: 4px;
        }

        .popular-meta span {
            margin-right: 12px;
        }

        .category-tabs {
            display: flex;
            padding: 0 16px;
            gap: 10px;
            margin-bottom: 15px;
        }

        .category-tab {
            padding: 8px 15px;
            background-color: var(--secondary-light);
            border-radius: 20px;
            font-size: 13px;
            color: var(--accent-color);
            white-space: nowrap;
        }

        .category-tab.active {
            background-color: var(--primary-color);
            color: white;
        }
    </style>
</head>

<body data-active-tab="home">
    <div class="iphone-container">
        <!-- 状态栏 -->
        <div id="status-bar"></div>

        <!-- 页面内容 -->
        <div class="app-content">
            <!-- 搜索栏 -->
            <div class="search-bar">
                <div class="search-input-container">
                    <i class="fas fa-search"></i>
                    <input type="text" class="search-input" placeholder="搜索AI角色、话题或用户">
                </div>
            </div>

            <!-- 分类标签 -->
            <div class="category-tabs">
                <div class="category-tab active">全部</div>
                <div class="category-tab">情感陪伴</div>
                <div class="category-tab">学习助手</div>
                <div class="category-tab">创意伙伴</div>
                <div class="category-tab">生活顾问</div>
            </div>

            <!-- 热门AI角色 -->
            <h2 class="section-title"><i class="fas fa-star"></i>热门AI角色</h2>
            <div class="scroll-container">
                <div class="ai-aiCharacter-card">
                    <div class="ai-aiCharacter-image-container">
                        <img src="https://images.pexels.com/photos/1036623/pexels-photo-1036623.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                             alt="小雪" class="ai-aiCharacter-image">
                        <div class="ai-aiCharacter-status"></div>
                    </div>
                    <p class="ai-aiCharacter-name">小雪</p>
                    <p class="ai-aiCharacter-type">温柔女友</p>
                </div>
                <div class="ai-aiCharacter-card">
                    <div class="ai-aiCharacter-image-container">
                        <img src="https://images.pexels.com/photos/2379005/pexels-photo-2379005.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                             alt="阿杰" class="ai-aiCharacter-image">
                        <div class="ai-aiCharacter-status"></div>
                    </div>
                    <p class="ai-aiCharacter-name">阿杰</p>
                    <p class="ai-aiCharacter-type">知心朋友</p>
                </div>
                <div class="ai-aiCharacter-card">
                    <div class="ai-aiCharacter-image-container">
                        <img src="https://images.pexels.com/photos/1239291/pexels-photo-1239291.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                             alt="莉莉" class="ai-aiCharacter-image">
                    </div>
                    <p class="ai-aiCharacter-name">莉莉</p>
                    <p class="ai-aiCharacter-type">学习导师</p>
                </div>
                <div class="ai-aiCharacter-card">
                    <div class="ai-aiCharacter-image-container">
                        <img src="https://images.pexels.com/photos/1681010/pexels-photo-1681010.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                             alt="小北" class="ai-aiCharacter-image">
                        <div class="ai-aiCharacter-status"></div>
                    </div>
                    <p class="ai-aiCharacter-name">小北</p>
                    <p class="ai-aiCharacter-type">情感顾问</p>
                </div>
                <div class="ai-aiCharacter-card">
                    <div class="ai-aiCharacter-image-container">
                        <img src="https://images.pexels.com/photos/1898555/pexels-photo-1898555.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                             alt="星辰" class="ai-aiCharacter-image">
                    </div>
                    <p class="ai-aiCharacter-name">星辰</p>
                    <p class="ai-aiCharacter-type">科幻伙伴</p>
                </div>
            </div>

            <!-- 精选内容 -->
            <h2 class="section-title"><i class="fas fa-crown"></i>精选内容</h2>
            <div class="featured-card">
                <img src="https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                    alt="如何与AI建立更深层次的情感连接" class="featured-image">
                <div class="featured-content">
                    <h3 class="featured-title">如何与AI建立更深层次的情感连接</h3>
                    <p class="featured-description">探索与AI角色互动的新方式，让你的数字伙伴更懂你的心意，创造更加真实的情感体验...</p>
                    <div>
                        <span class="tag">#情感连接</span>
                        <span class="tag">#AI互动</span>
                        <span class="tag">#数字伙伴</span>
                    </div>
                </div>
            </div>

            <!-- 热门话题 -->
            <h2 class="section-title"><i class="fas fa-fire"></i>热门话题</h2>
            <div class="popular-container">
                <div class="popular-item">
                    <div class="popular-number">1</div>
                    <div class="popular-content">
                        <h3 class="popular-title">AI角色定制：打造专属于你的数字伴侣</h3>
                        <div class="popular-meta">
                            <i class="fas fa-eye"></i><span>2.3万</span>
                            <i class="fas fa-comment"></i><span>342</span>
                            <i class="fas fa-heart"></i><span>1.5万</span>
                        </div>
                    </div>
                </div>
                <div class="popular-item">
                    <div class="popular-number">2</div>
                    <div class="popular-content">
                        <h3 class="popular-title">数字情感：AI陪伴如何改变现代人际关系</h3>
                        <div class="popular-meta">
                            <i class="fas fa-eye"></i><span>1.8万</span>
                            <i class="fas fa-comment"></i><span>256</span>
                            <i class="fas fa-heart"></i><span>9.2千</span>
                        </div>
                    </div>
                </div>
                <div class="popular-item">
                    <div class="popular-number">3</div>
                    <div class="popular-content">
                        <h3 class="popular-title">分享：我与AI伙伴的日常对话让我重新认识自己</h3>
                        <div class="popular-meta">
                            <i class="fas fa-eye"></i><span>1.5万</span>
                            <i class="fas fa-comment"></i><span>198</span>
                            <i class="fas fa-heart"></i><span>8.7千</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 底部导航栏 -->
        <div id="tab-bar"></div>
    </div>

    <script src="components/common.js"></script>
</body>

</html>